package com.zzyl.nursing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 健康评估对象
 */
@Data
@ApiModel(description = "健康评估对象")
public class HealthAssessment extends BaseEntity {
    //序列化版本ID
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "老人姓名")
    private String elderName;
    @ApiModelProperty(value = "身份证号")
    private String idCard;
    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime birthDate;
    @ApiModelProperty(value = "年龄")
    private Integer age;
    @ApiModelProperty(value = "性别（0：男，1：女）")
    private Integer gender;
    @ApiModelProperty(value = "健康评分")
    private String healthScore;
    @ApiModelProperty(value = "健康风险等级（健康，警告，风险，危险，严重危险）")
    private String riskLevel;
    @ApiModelProperty(value = "是否建议入住（0：建议，1：不建议）")
    private Integer suggestionForAdmission;
    @ApiModelProperty(value = "推荐护理等级")
    private String nursingLevelName;
    @ApiModelProperty(value = "入住情况（0：已入住，1：未入住）")
    private Integer admissionStatus;
    @ApiModelProperty(value = "总检日期")
    private String totalCheckDate;
    @ApiModelProperty(value = "体检机构", example = "无锡人民医院")
    private String physicalExamInstitution;
    @ApiModelProperty(value = "体检报告URL链接")
    private String physicalReportUrl;
    @ApiModelProperty(value = "评估时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime assessmentTime;
    @ApiModelProperty(value = "报告总结")
    private String reportSummary;
    @ApiModelProperty(value = "疾病风险")
    private String diseaseRisk;
    @ApiModelProperty(value = "异常分析")
    private String abnormalAnalysis;
    @ApiModelProperty(value = "健康系统分值", example = "90")
    private String systemScore;
}